{% extends 'base.html' %}

{% block content %}
<h4>确认删除作业</h4>
<p>确定要删除作业 "{{ object.title }}" 吗？此操作不可撤销。</p>
<form method="post">
    {% csrf_token %}
    <button type="submit" class="btn btn-danger">确认删除</button>
    <a href="{% url 'core:homework_list' %}" class="btn btn-secondary">取消</a>
</form>
{% endblock %}